using System;

namespace YatFram.UnitTesting
{
    public class UnitTestContext<TUnitUnderTest> : IContext
    {
        public TUnitUnderTest UnitUnderTest { get; set; }
        public object ReturnValue { get; set; }

        public void Dispose()
        {
            
        }

        public void Reset()
        {
            UnitUnderTest = default(TUnitUnderTest);
            ReturnValue = null;
        }

        public void Dump()
        {
            Console.WriteLine("Unit Under Test [" +  UnitUnderTest + "] Return value [" + ReturnValue + "]");
        }
    }
}